/*
 * @Author: byron
 * @Date: 2021-10-28 15:28:45
 * @LastEditTime: 2022-02-18 21:30:50
 */
import Header from './header/index'
import Layout from './layout/index'
import Footer from './footer/index'
import Quick from './quick/index'
// import Table from './table/index';
// import Query from './query/index';
import Icon from './icon/index'
import Count from './count/index'
import Emoji from './emoji/index'

import IconPicker from './iconPicker/index'

const components = [
    // Footer,Header,Layout, Quick, Count,Table, Query, Icon, IconPicker
    Header,
    Layout,
    Footer,
    Icon,
    IconPicker,
    Count,
    Quick,
    Emoji,
]

// 插件安装方法
const install = function (Vue) {
    if (install.installed) return
    components.map((component) => Vue.component(component.name, component))
}

export default {
    install,
    // Footer, Header, Layout, Quick, Count, Table, Query, Icon, IconPicker
    // Header,
    // Layout,
}